package org.wwb.antbox.user.model.common.exception;

import javax.security.auth.login.LoginException;

/**
 * @Author Bond
 * @Date: 2020/3/3 17:24
 * @Description: 帐号密码(错误)异常
 */
public class AccountPasswordException extends LoginException {

    /**
     * 系统用户id
     */
    private String userId;

    public AccountPasswordException() {
        super();
    }

    public AccountPasswordException(String msg) {
        super(msg);
    }

    public AccountPasswordException(String msg, String userId) {
        super(msg);
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
